<ion-header>
  <ion-navbar>
    <ion-title>{{taskinfo.Task_Name}}</ion-title>
    <ion-buttons end>
      <button ion-button icon-only color="royal" (click)="selchartModal()">
        <ion-icon name="ios-color-filter-outline" color="light"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content >

  <div id="stachart"  [ngClass]="{true:'',false:'rong_hide'}[canshowstachart]  " >
  </div>


  <ul  class="statenav">
    <li      [ngClass]="{true:'seltab',false:'tab'}[stateinfo.name == seltabname]  "
           *ngFor="let stateinfo of callStateList" (click)="statesel(stateinfo.name)">
      <h4>{{custlist[stateinfo.name]}}</h4>
      <p>{{stateinfo.title}}</p>
    </li>
  </ul>

  <ion-list>
    <ion-item  *ngFor="let cust of custlist.list"   >
      <ion-avatar item-left>
        <img src="assets/img/icon1.png">
      </ion-avatar>
      <h2>{{cust.Cust_Name}}&nbsp;&nbsp;{{cust.Cust_Phone}}({{cust.cellcount}})</h2>
      <h3>跟进时间：{{cust.laststartdate}}</h3>
      <p><span class="color-gray">负责人：{{cust.Ower_Name}}</span>
        <span class="qkbtn{{cust.Call_State }}"  >{{cust.Call_State_Str}}</span>
        <span class=" qkbtn{{cust.Follow_State }}" (click)="follostateshow(cust)">{{cust.Follow_State_Str}}</span></p>
    </ion-item>

    <button id="loadMore" ion-item   (click)="loadMoreCustlist( )"  [ngClass]="{true:'rong_hide',false:''}[showcount >= totle]  ">
      点击加载更多
    </button>
  </ion-list>
</ion-content>
